org.apache.camel.component.netty.http
Class HttpPrincipal

java.lang.Object
  extended by org.apache.camel.component.netty.http.HttpPrincipal
All Implemented Interfaces:
Principal

public final class HttpPrincipal
extends Object
implements Principal

Http Principal.


Constructor Summary
HttpPrincipal(String username, String password)
           
 
Method Summary
 String getName()
           
 String getPassword()
           
 String getUsername()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Constructor Detail

HttpPrincipal

public HttpPrincipal(String username,
                     String password)
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal

getUsername

public String getUsername()

getPassword

public String getPassword()

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object


Apache Camel