org.idoox.wasp.security.kerberos
Interface KerberosConfig.IdentityPreference

Enclosing interface:
KerberosConfig

public static interface KerberosConfig.IdentityPreference

For associating service to identity or server to identity. For example: if we want to determine that service published at http://abc.com:6060/secure/hello/ has kerberos identity (principal name) "SecureHelloService" we can do:

     IdentityPreference.setUri("http://abc.com:6060/secure/hello/");
     Identity.Preference.setIdentity("SecureHelloService");


Method Summary
 java.lang.String getIdentity()
          Returns identity of the server or service.
 java.lang.String getUri()
          Returns the uri of the server or service.
 void setIdentity(java.lang.String identity)
          Sets identity of server or service to the given value.
 void setUri(java.lang.String uri)
          Sets uri of the service or server to the given value.
 

Method Detail

getUri

public java.lang.String getUri()
Returns the uri of the server or service.

Returns:
the uri of the server or service

setUri

public void setUri(java.lang.String uri)
Sets uri of the service or server to the given value.

Parameters:
uri - String value of service or server.

getIdentity

public java.lang.String getIdentity()
Returns identity of the server or service.

Returns:
identity of the server or service.

setIdentity

public void setIdentity(java.lang.String identity)
Sets identity of server or service to the given value.

Parameters:
identity - identity of the server or service to set to