1 package org.jacorb.security.level2; 2 3 22 23 import org.omg.Security.*; 24 import org.omg.SecurityLevel2.*; 25 26 33 34 public class ReceivedCredentialsImpl 35 extends CredentialsImpl 36 implements ReceivedCredentials 37 { 38 39 public ReceivedCredentialsImpl( SecAttribute[] attributes, 40 AuthenticationStatus authStatus ) 41 { 42 super( attributes, 43 authStatus, 44 InvocationCredentialsType.SecReceivedCredentials ); 45 } 46 47 public ReceivedCredentialsImpl( SecAttribute[] attributes ) 48 { 49 super( attributes, 50 AuthenticationStatus.SecAuthSuccess , 51 InvocationCredentialsType.SecReceivedCredentials ); 52 } 53 54 public Credentials accepting_credentials() 55 { 56 return null; 57 } 58 59 public short association_options_used() 60 { 61 return -1; 62 } 63 64 public DelegationState delegation_state() 65 { 66 return DelegationState.SecInitiator; 67 } 68 69 public org.omg.Security.DelegationMode delegation_mode() 70 { 71 return org.omg.Security.DelegationMode.SecDelModeNoDelegation; 72 } 73 } 74 75 76 | Popular Tags |