hudson.security
Class FederatedLoginServiceUserProperty

java.lang.Object
  extended by hudson.model.UserProperty
      extended by hudson.security.FederatedLoginServiceUserProperty
All Implemented Interfaces:
ExtensionPoint, Describable<UserProperty>, ReconfigurableDescribable<UserProperty>

public class FederatedLoginServiceUserProperty
extends UserProperty

Remembers identifiers given by FederatedLoginService 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
protected  Set<String> identifiers
           
 
Fields inherited from class hudson.model.UserProperty
user
 
Constructor Summary
protected FederatedLoginServiceUserProperty(Collection<String> identifiers)
           
 
Method Summary
 void addIdentifier(String id)
           
 Collection<String> getIdentifiers()
           
 boolean has(String identifier)
           
 
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifiers

protected final Set<String> identifiers
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


Copyright © 2004-2013. All Rights Reserved.