Apache CXF API

org.apache.cxf.sts.token.realm
Interface UsernameTokenRealmCodec


public interface UsernameTokenRealmCodec

This interface defines a pluggable way to return a realm associated with a UsernameToken.


Method Summary
 String getRealmFromToken(org.apache.wss4j.dom.message.token.UsernameToken usernameToken)
          Get the realm associated with the UsernameToken parameter
 

Method Detail

getRealmFromToken

String getRealmFromToken(org.apache.wss4j.dom.message.token.UsernameToken usernameToken)
Get the realm associated with the UsernameToken parameter

Parameters:
usernameToken - a WSS4J UsernameToken object
Returns:
the realm associated with the UsernameToken parameter

Apache CXF API

Apache CXF