Class ExternalSubjectAttrFramework
java.lang.Object
edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectAttrFramework
data and logic about attributes for external subjects
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
main attribute definition assigned to stemsstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
main attribute definition assigned to stem assignment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
return the stem name where the attribute extenral subject attributes go, without colon on endstatic long
static AttributeDefName
return the rule attribute def name, assign this to an object to attach a rule.static String
full externalSubjectInviteDateNamestatic AttributeDefName
return the email address attribute def name this throws exception if cant findstatic String
full externalSubjectInviteEmailAddressstatic String
full externalSubjectInviteEmailNamestatic String
full externalSubjectInviteEmailWhenRegisteredNamestatic String
full externalSubjectInviteExpireDateNamestatic String
full externalSubjectInviteGroupUuidsNamestatic String
full externalSubjectInviteMemberIdNamestatic AttributeDefName
return the uuid attribute def name this throws exception if cant findstatic String
full externalSubjectInviteUuidNamestatic String
inviteExternalUsers
(Set<String> emailAddresses, ExternalSubjectInviteBean externalSubjectInviteBean, String emailSubject, String email) invite external users to register with grouper.static AttributeDef
attribute value def assigned to stem or groupstatic AttributeDef
attribute value def assigned to stem or group
-
Field Details
-
EXTERNAL_SUBJECT_INVITE_CONFIG_DEF
main attribute definition assigned to stems- See Also:
-
EXTERNAL_SUBJECT_INVITE_VALUE_DEF
main attribute definition assigned to stem assignment- See Also:
-
EXTERNAL_SUBJECT_INVITE_EMAIL_WHEN_REGISTERED
- See Also:
-
EXTERNAL_SUBJECT_INVITE_EMAIL
- See Also:
-
EXTERNAL_SUBJECT_INVITE_MEMBER_ID
- See Also:
-
EXTERNAL_SUBJECT_INVITE_GROUP_UUIDS
- See Also:
-
EXTERNAL_SUBJECT_INVITE_UUID
- See Also:
-
EXTERNAL_SUBJECT_EMAIL_ADDRESS
- See Also:
-
EXTERNAL_SUBJECT_INVITE_EXPIRE_DATE
- See Also:
-
EXTERNAL_SUBJECT_INVITE_DATE
- See Also:
-
-
Constructor Details
-
ExternalSubjectAttrFramework
public ExternalSubjectAttrFramework()
-
-
Method Details
-
inviteExternalUsers
public static String inviteExternalUsers(Set<String> emailAddresses, ExternalSubjectInviteBean externalSubjectInviteBean, String emailSubject, String email) invite external users to register with grouper. Note, there needs to a wheel/root grouper session open when calling this method- Parameters:
emailAddresses
-externalSubjectInviteBean
- put most of the data in this beanemail
- to send, must have $inviteLink$ variable in it, or it will be added to the endemailSubject
- of the email or null to get the default- Returns:
- the error message or null if ok
-
expireMillisAfter1970
public static long expireMillisAfter1970()- Returns:
- millis that this will expire
-
externalSubjectInviteAttributeDefName
return the rule attribute def name, assign this to an object to attach a rule. this throws exception if cant find- Returns:
- the attribute def name
-
externalSubjectInviteUuidAttributeDefName
return the uuid attribute def name this throws exception if cant find- Returns:
- the attribute def name
-
externalSubjectInviteEmailAddressAttributeDefName
return the email address attribute def name this throws exception if cant find- Returns:
- the attribute def name
-
externalSubjectInviteEmailWhenRegisteredName
full externalSubjectInviteEmailWhenRegisteredName- Returns:
- name
-
externalSubjectInviteEmailName
full externalSubjectInviteEmailName- Returns:
- name
-
externalSubjectInviteMemberIdName
full externalSubjectInviteMemberIdName- Returns:
- name
-
externalSubjectInviteGroupUuidsName
full externalSubjectInviteGroupUuidsName- Returns:
- name
-
externalSubjectInviteUuidName
full externalSubjectInviteUuidName- Returns:
- name
-
externalSubjectInviteEmailAddressName
full externalSubjectInviteEmailAddress- Returns:
- name
-
externalSubjectInviteExpireDateName
full externalSubjectInviteExpireDateName- Returns:
- name
-
externalSubjectInviteDateName
full externalSubjectInviteDateName- Returns:
- name
-
attributeExternalSubjectInviteStemName
return the stem name where the attribute extenral subject attributes go, without colon on end- Returns:
- stem name
-
retrieveAttributeDefBaseDef
attribute value def assigned to stem or group- Returns:
- the attribute def
-
retrieveAttributeDefValueDef
attribute value def assigned to stem or group- Returns:
- the attribute def
-