Package hudson.security
Class FederatedLoginServiceUserProperty
- java.lang.Object
-
- hudson.model.UserProperty
-
- hudson.security.FederatedLoginServiceUserProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<UserProperty>
,ReconfigurableDescribable<UserProperty>
public class FederatedLoginServiceUserProperty extends UserProperty
Remembers identifiers given byFederatedLoginService
to this user.See
FederatedLoginService
for what "identifier" exactly means- Since:
- 1.394
- Author:
- Kohsuke Kawaguchi
- See Also:
FederatedLoginService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
identifiers
-
Fields inherited from class hudson.model.UserProperty
user
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FederatedLoginServiceUserProperty(Collection<String> identifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIdentifier(String id)
Collection<String>
getIdentifiers()
boolean
has(String identifier)
-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure, setUser
-
-
-
-
Constructor Detail
-
FederatedLoginServiceUserProperty
protected FederatedLoginServiceUserProperty(Collection<String> identifiers)
-
-
Method Detail
-
has
public boolean has(String identifier)
-
getIdentifiers
public Collection<String> getIdentifiers()
-
addIdentifier
public void addIdentifier(String id) throws IOException
- Throws:
IOException
-
-