|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.sts.token.provider.SCTProvider
public class SCTProvider
A TokenProvider implementation that provides a SecurityContextToken.
| Constructor Summary | |
|---|---|
SCTProvider()
|
|
| Method Summary | |
|---|---|
boolean |
canHandleToken(String tokenType)
Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType. |
boolean |
canHandleToken(String tokenType,
String realm)
Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType in a given realm. |
TokenProviderResponse |
createToken(TokenProviderParameters tokenParameters)
Create a token given a TokenProviderParameters |
long |
getLifetime()
Return the lifetime of the generated SCT |
boolean |
isReturnEntropy()
Get whether Entropy is returned to the client or not |
void |
setLifetime(long lifetime)
Set the lifetime of the generated SCT |
void |
setReturnEntropy(boolean returnEntropy)
Set whether Entropy is returned to the client or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SCTProvider()
| Method Detail |
|---|
public long getLifetime()
public void setLifetime(long lifetime)
lifetime - the lifetime of the generated SCTpublic boolean canHandleToken(String tokenType)
canHandleToken in interface TokenProvider
public boolean canHandleToken(String tokenType,
String realm)
canHandleToken in interface TokenProviderpublic void setReturnEntropy(boolean returnEntropy)
returnEntropy - whether Entropy is returned to the client or notpublic boolean isReturnEntropy()
public TokenProviderResponse createToken(TokenProviderParameters tokenParameters)
createToken in interface TokenProvider
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||