|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SocialAuthenticationService.ConnectionCardinality>
org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
public static enum SocialAuthenticationService.ConnectionCardinality
Enum Constant Summary | |
---|---|
MANY_TO_MANY
no restrictions. |
|
MANY_TO_ONE
only one providerUserId per userId, but many userIds per providerUserId. |
|
ONE_TO_MANY
many connected providerUserIds per userId, but only one userId per providerUserId |
|
ONE_TO_ONE
only one connected providerUserId per userId and vice versa |
Method Summary | |
---|---|
boolean |
isAuthenticatePossible()
|
boolean |
isMultiProviderUserId()
allow many providerUserIds per userId |
boolean |
isMultiUserId()
allow many userIds per providerUserId. |
static SocialAuthenticationService.ConnectionCardinality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SocialAuthenticationService.ConnectionCardinality[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SocialAuthenticationService.ConnectionCardinality ONE_TO_ONE
public static final SocialAuthenticationService.ConnectionCardinality ONE_TO_MANY
public static final SocialAuthenticationService.ConnectionCardinality MANY_TO_ONE
public static final SocialAuthenticationService.ConnectionCardinality MANY_TO_MANY
Method Detail |
---|
public static SocialAuthenticationService.ConnectionCardinality[] values()
for (SocialAuthenticationService.ConnectionCardinality c : SocialAuthenticationService.ConnectionCardinality.values()) System.out.println(c);
public static SocialAuthenticationService.ConnectionCardinality valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean isMultiUserId()
public boolean isMultiProviderUserId()
public boolean isAuthenticatePossible()
|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |